GtkHeaderBar: try harder to find the best window icon
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Jan 2014 20:40:37 +0000 (15:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 24 Jan 2014 20:40:37 +0000 (15:40 -0500)
commit6e96111d9f5e9298ff0b716f063b084a94a880e6
treed7906dcf72d4e0c946c8ebcd378e04cc676bf447
parent3437f83ff3bfb256f69122c6de1e24dd8424a60f
GtkHeaderBar: try harder to find the best window icon

GtkWindow has 4 (!) APIs for setting window icons, and we
have to try them all in the right order to find the right
icon. This commit makes it so, and keeps the icon list
manipulation inside gtkwindow.c by adding a private API
for getting a single icon at the right size.

https://bugzilla.gnome.org/show_bug.cgi?id=722515
gtk/gtkheaderbar.c
gtk/gtkwindow.c
gtk/gtkwindowprivate.h